The Ordering Requirements of Relativistic and Reader-Writer Locking Approaches to Shared Data Access
نویسندگان
چکیده
The semantics of reader-writer locks allow read-side concurrency. Unfortunately, the locking primitives serialize access to the lock variable to an extent that little or no concurrency is realized in practice for small critical sections. Relativistic programming is a methodology that also allows readside concurrency. Relativistic programming uses different ordering constraints than reader-writer locking. The different ordering constraints allow relativistic readers to proceed without synchronization so relativistic readers scale even for very short critical sections. In this paper we explore the differences between the ordering constraints for reader-writer locking and relativistic programs. We show how and why the different ordering constraints allow relativistic programs to have both better performance and better scalability than their reader-writer locking counterparts.
منابع مشابه
A Comparison of Relativistic and Reader-Writer Locking Approaches to Shared Data Access
This paper explores the relationship between reader-writer locking and relativistic programming approaches to managing accesses to shared data. It demonstrates that by placing certain restrictions on writers, relativistic programming allows more concurrency than reader-writer locking while still providing the same isolation guarantees. Relativistic programming also allows for a straightforward ...
متن کاملGeneralized Construction of Scalable Concurrent Data Structures via Relativistic Programming
We present relativistic programming, a concurrent programming model based on shared addressing, which supports efficient, scalable operation on either uniform shared-memory or distributed sharedmemory systems. Relativistic programming provides a strong causal ordering property, allowing a series of read operations to appear as an atomic transaction that occurs entirely between two ordered write...
متن کاملReader-writer Locks for Network Attached Storage and Storage Area Network S 1
Network Attached Storage and Storage Area Networks are emerging as the technology of choice for large-scale data storage. A key feature of such storage devices is that they can be directly accessed by applications without the intervention of le servers. Hence, issues such as data-sharing and security cannot be handled by le-servers. This paper addresses the issue of data-sharing by presenting a...
متن کاملGeneralized Construction of Scalable Concurrent Data Structures via Relativistic Programming
We present relativistic programming, a concurrent programming model based on shared addressing, which supports efficient, scalable operation on either uniform shared-memory or distributed sharedmemory systems. Relativistic programming provides a strong causal ordering property, allowing a series of read operations to appear as an atomic transaction that occurs entirely between two ordered write...
متن کاملReader-Writer Locks for Network Attached Storage and Storage Area Networks
Emerging large-scale data-storage technologies such as Storage Area Networks (SAN) and Network Attached Storage (NAS), being server-less, trade datasharing and security semantics for high throughput and availability. This paper addresses the issue of data-sharing by presenting a Reader-Writer locking mechanism that is controlled by the storage device. Shared-read and exclusive-write access to s...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2011